#ifndef __THREAD_TASK_HPP__
#define __THREAD_TASK_HPP__
class thread_task
{
private:
    /* data */
public:
    thread_task(/* args */);
    ~thread_task();
public:
    virtual void init()=0;
public:
    struct event_base *m_base;
    int m_sockfd = 0;
    int m_thread_id = 0;
};
#endif